<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>My notes</title>
<link rel="shortcut icon" href="__TMPL__Public/images/icon.png" />
<link type="text/css" rel="stylesheet" href="__TMPL__Public/css/common.css" media="all" />
<link type="text/css" rel="stylesheet" href="__TMPL__Book/css/addBookPage.css" media="all" />

<link type="text/css" rel="stylesheet" href="__TMPL__Public/jquery/css/le-frog/jquery-ui-1.8.16.custom.css" media="all"  />
<script type="text/javascript" src="__TMPL__Public/jquery/js/jquery-1.6.2.min.js"></script>
<script type="text/javascript" src="__TMPL__Public/jquery/js/jquery-ui-1.8.16.custom.min.js"></script>
<script type="text/javascript">
	$(function(){
		$(".buttons").button().css("font-size", "16px");
	});	
</script>

<style type="text/css" href="__TMPL__Book/css/addBookPage.css"></style>
</head>
<body id="book_item">
	<include file="Public:header"/>
	
	<div id="main_panel">
		<h2>添加图书</h2>
		
		<form action="__APP__/Book/add" method="post" enctype="multipart/form-data">
			<table id="add_book_table">
				<tr>
					<th>标题：</th>
					<td><input type="text" name="title"/></td>
				</tr>
				<tr>
					<th>作者：</th>
					<td><input type="text" name="author"/></td>
				</tr>
				<tr>
					<th>简介：</th>
					<td><textarea name="introduction" cols="70" rows="8"></textarea></td>
				</tr>
				<tr>
					<th>上传封面：</th>
					<td><input type="file" name="picture"/></td>
				</tr>
				<tr>
					<th><input type="hidden" name="group_id" value="{$group_id}"/></th>
					<td><input class="buttons" type="submit" value="添加"/></td>
				</tr>									
			</table>
		</form>
	</div>
</body>
</html>